﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using BOHVote.BLL;

namespace BOH.DataManagement
{
    public partial class AccessModify : System.Web.UI.Page
    {
        protected string PageType = string.Empty;
        protected string UserID = string.Empty;
        protected void Page_Load(object sender, EventArgs e)
        {
            PageType = Request.QueryString["type"];
            UserID = Request.QueryString["ID"];
            if (!IsPostBack)
            {
                if (PageType != null && UserID != null && UserID.Trim().Length > 0 && PageType == "edit")
                {
                    BindFieldToFrom(UserID.Trim());
                }
            }
        }

        public void BindFieldToFrom(string AccessID)
        {
            DataSet dst = UserClass.dstUserAccessByAccessID(AccessID);
            
        }

        protected void butSave_Click(object sender, EventArgs e)
        {

        }
    }
}
